<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>MyTestManeuverChooser</title>

<link rel="stylesheet" href="../../../main/css/style.css">
<link rel="stylesheet" href="../../../main/css/ManeuverChooser.css">

<script src="../../../main/js/util/JavaScriptAugments.js"></script>
<script src="../../../main/js/util/Logger.js"></script>
<script src="../../../main/js/util/InputValidator.js"></script>
<script src="../../../main/js/util/ArrayUtilities.js"></script>

<script src="../../../main/js/Team.js"></script>
<script src="../../../main/js/Maneuver.js"></script>
<script src="../../../main/js/ShipAction.js"></script>
<script src="../../../main/js/Ship.js"></script>
<script src="../../../main/js/RangeRuler.js"></script>
<script src="../../../main/js/Weapon.js"></script>
<script src="../../../main/js/Pilot.js"></script>
<script src="../../../main/js/DamageCard.js"></script>
<script src="../../../main/js/Token.js"></script>
<script src="../../../main/js/SquadBuilder.js"></script>
<script src="../../../main/js/SimpleAgent.js"></script>

<script src="../../../main/js/ui/ImageUtilities.js"></script>
<script src="../../../main/js/ui/HumanAgent.js"></script>
<script src="../../../main/js/ui/ManeuverChooser.js"></script>

</head>
<body>
	<div id="inputArea0"></div>
	<br />
	<div id="inputArea1"></div>
	<script>
        var LOGGER = new Logger();

        var imageUtils = new ImageUtilities();

        {
            var imperialAgent = new SimpleAgent("Imperial Agent",
                    Team.IMPERIAL, CoreSetImperialSquadBuilder);
            var token = new Token(Pilot.ACADEMY_PILOT, imperialAgent);
            var chooser = new ManeuverChooser(token, imageUtils);
            var component = document.getElementById("inputArea0");
            component.innerHTML = chooser.paintComponent();
        }

        {
            var rebelAgent = new HumanAgent("Rebel Agent", Team.REBEL,
                    CoreSetRebelSquadBuilder, new ImageUtilities());
            var token = new Token(Pilot.ROOKIE_PILOT, rebelAgent);
            var chooser = new ManeuverChooser(token, imageUtils);
            var component = document.getElementById("inputArea1");
            component.innerHTML = chooser.paintComponent();
        }
    </script>
</body>
</html>
